package com.manpower.model;

import java.sql.Timestamp;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * MpTrain entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "mp_train", catalog = "manpower")
public class MpTrain implements java.io.Serializable {

	// Fields

	private String id;
	private String trainTitle;
	private String trainTeacher;
	private Timestamp trainStartTime;
	private Timestamp trainEndTime;
	private String trainObjective;
	private String trainRenyuan;
	private String trainJianjie;
	private String trainFujianUrl;

	// Constructors

	/** default constructor */
	public MpTrain() {
	}

	/** minimal constructor */
	public MpTrain(String id) {
		this.id = id;
	}

	/** full constructor */
	public MpTrain(String id, String trainTitle, String trainTeacher,
			Timestamp trainStartTime, Timestamp trainEndTime,
			String trainObjective, String trainRenyuan, String trainJianjie,
			String trainFujianUrl) {
		this.id = id;
		this.trainTitle = trainTitle;
		this.trainTeacher = trainTeacher;
		this.trainStartTime = trainStartTime;
		this.trainEndTime = trainEndTime;
		this.trainObjective = trainObjective;
		this.trainRenyuan = trainRenyuan;
		this.trainJianjie = trainJianjie;
		this.trainFujianUrl = trainFujianUrl;
	}

	// Property accessors
	@Id
	@Column(name = "id", unique = true, nullable = false, length = 36)
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "train_title", length = 200)
	public String getTrainTitle() {
		return this.trainTitle;
	}

	public void setTrainTitle(String trainTitle) {
		this.trainTitle = trainTitle;
	}

	@Column(name = "train_teacher", length = 36)
	public String getTrainTeacher() {
		return this.trainTeacher;
	}

	public void setTrainTeacher(String trainTeacher) {
		this.trainTeacher = trainTeacher;
	}

	@Column(name = "train_start_time", length = 19)
	public Timestamp getTrainStartTime() {
		return this.trainStartTime;
	}

	public void setTrainStartTime(Timestamp trainStartTime) {
		this.trainStartTime = trainStartTime;
	}

	@Column(name = "train_end_time", length = 19)
	public Timestamp getTrainEndTime() {
		return this.trainEndTime;
	}

	public void setTrainEndTime(Timestamp trainEndTime) {
		this.trainEndTime = trainEndTime;
	}

	@Column(name = "train_objective", length = 200)
	public String getTrainObjective() {
		return this.trainObjective;
	}

	public void setTrainObjective(String trainObjective) {
		this.trainObjective = trainObjective;
	}

	@Column(name = "train_renyuan", length = 200)
	public String getTrainRenyuan() {
		return this.trainRenyuan;
	}

	public void setTrainRenyuan(String trainRenyuan) {
		this.trainRenyuan = trainRenyuan;
	}

	@Column(name = "train_jianjie", length = 200)
	public String getTrainJianjie() {
		return this.trainJianjie;
	}

	public void setTrainJianjie(String trainJianjie) {
		this.trainJianjie = trainJianjie;
	}

	@Column(name = "train_fujian_url", length = 200)
	public String getTrainFujianUrl() {
		return this.trainFujianUrl;
	}

	public void setTrainFujianUrl(String trainFujianUrl) {
		this.trainFujianUrl = trainFujianUrl;
	}

}